   </div>
<!--end of content-->

<!-- begin of footer   -->
   <div class="footer">
       ©2012 Developed by <a href="http://artcak.com/" target="_blank">Artcak Studio</a>. All rights reserved.
    </div>
<!--end of footer-->


  </div>
<!--end of container -->
  
  
  <!--============================================================
        BEGIN : Element Pop Up - LOGIN
        ============================================================-->
  <?php
     if ($title == 'Logbook and Event Management Website') {
   ?>
        <div class="logbook-popUp" >
            <div class ="logbook-content">
                <div class="close_log" onclick="closeLogbook_overlay()"></div>
                <div class="logbook-headerPopup" ></div>
                <form id="logbook_form" method="post" action="<?php echo base_url().'index.php/home/loginLB'?>" >
                    Username<br/><input class="input_log" id="input_log" type="text" name="username_box" value="" /><br/>
                    Password<br/><input class="input_log" id="input_pas" type="password" name="password_box" value="" onchange="loginLB();"/><br/>
                    <div class="buton_log" id ="button_log" onclick="loginLB();" >Masuk</div>
                    <div id="status_loginLB"></div>
                </form>
            </div>
        </div>
     
        <div class="event-popUp" >
            <div class ="event-content">
                <div class="close_log" onclick="closeEvent_overlay()"></div>
                <div class="event-headerPopup" ></div>
                <form id="event_form" method="post" action="<?php echo base_url().'index.php/home/loginEV'?>" >
                    Username<br/><input class="input_log" id="input_log_ev" type="text" name="username_box_ev" value="" /><br/>
                    Password<br/><input class="input_log" id="input_pas_ev" type="password" name="password_box_ev" value="" onchange="loginEV();"/><br/>
                    <div class="buton_log" id ="button_log_ev" onclick="loginEV();" >Masuk</div>
                    <div id="status_loginEV"></div>
                </form>
            </div>
        </div>
  <?php } ?>
     <!--============================================================
        END : Element Pop Up
   
     ============================================================-->

<?php if ($title == 'Logbook Management' && $subtitle == '- Manage Activity') { ?>
/* @var $username type */
<div class="popUp">
<div class ="logbook-form">
    <div class="close_log" onclick="closePopUp()"></div>
    <form id ="logbook_submit" method="post" action ="<?php echo base_url().'index.php/logbook/submitact'?>">
        Time Now <br/> <input class="txt_submit_disable" id="input_time" type="text" name="time_box" value=<?php echo $time ?> disabled="true" /> <br/>
        IO officer <br/> <input class="txt_submit_disable" id="input_io" type="text" name="io_box" value=<?php echo $username ?> disabled="true"/> <br/>
        Guest name <br/> <input class="txt_submit" id="input_guest" type="text" name="guest_box" value="" /> <br/>
        Affiliation <br/> <input class="txt_submit" id="input_aff" type="text" name="aff_box" value="" /> <br/>
        Purpose of visit <br/> <textarea rows="4" class="txt_submit" id="input_purpose" type="text" name="purpose_box" ></textarea><br/>
        Counter measure <br/><textarea rows="4" class="txt_submit" id="input_counter" type="text" name="counter_box" value="" ></textarea> <br/>
        <input type="hidden" name="sql_time" value ="<?php echo $sqltime ?>"/>
        <input type="hidden" name="officer" value ="<?php echo $username ?>"/>
        
        <div class="logbook-form-but_submit" id ="txt_submit" onclick="submitAct();" >Submit</div>
        <div id="status_submit"></div> 
    </form>
</div>
</div>
<?php } ?>

<?php if ($title == 'Event Management' && $subtitle == '- Add Items') { ?>

<?php } ?>

</body>
</html>
